package com.spa.application.dto.admin;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class MassagistExportDTO {

    @ExcelProperty(value = "ID")
    @ColumnWidth(25)
    private String id;

    @ExcelProperty(value = "姓名")
    @ColumnWidth(10)
    private String name;

    @ExcelProperty(value = "个人简介")
    @ColumnWidth(25)
    private String introduce;

    @ExcelProperty(value = "手机号")
    @ColumnWidth(15)
    private String phone;

    @ExcelProperty(value = "所属门店")
    @ColumnWidth(15)
    private String shopName;

    @ExcelProperty(value = "技师类型")
    @ColumnWidth(15)
    private String tag;

    @ExcelProperty(value = "技师标签")
    @ColumnWidth(15)
    private String type;

    @ExcelProperty(value = "所属城市")
    @ColumnWidth(15)
    private String cityName;

    @ExcelProperty(value = "工作年限")
    private String lengthOfEmployment;

    @ExcelProperty(value = "服务时长 分钟")
    @ColumnWidth(20)
    private Long serviceTime;

    @ExcelProperty(value = "订单量")
    private Long selectCount;

    @ExcelProperty(value = "收藏数")
    private long followCount = 0 ;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "创建时间")
    @ColumnWidth(20)
    private Date createTime;

}
